package com.gator.mybatis.sqlsesson;

/**
 * @Authror PABLO
 * @Date 2022/4/26 21:23
 * @Desc mybatis接口层
 */
public interface SqlSession {

    /**
     * @Description: 获取代理对象
     * @Author: PABLO
     * @Date: 2022/4/26 21:24
     * @Params:
     * @Return:
     **/
    <T> T getMapper(Class<T> clazz);

    /**
     * @Description: 简单查询
     * @Author: PABLO
     * @Date: 2022/4/26 21:24
     * @Params:
     * @Return:
     **/
    <T> T selectOne(String statementId, Object param);


}
